PHY MAKE CAPSULE CHARACTER CONTROLLER

Create a new capsule character controller.

  Syntax
PHY MAKE CAPSULE CHARACTER CONTROLLER ID, x#, y#, z#, radius#, height#, up, step#, slope limit#
  Parameters
ID
Integer
identification number of the character controller, these ID numbers are unique to character controllers
x#
Float
position of the character controller on the X axis
y#
Float
position of the character controller on the Y axis
z#
Float
position of the character controller on the Z axis
radius#
Float
radius of the character controller capsule
height#
Float
height of the character controller capsule
up
Integer
defines which axis is pointing upwards, this will typically be 1 to represent the y axis, alternatives include 0 for x and 2 for z
step#
Float
used for stepping over obstacles, if the height of an obstacle is less than the step# value then the character controller can step over it, if this is not the case the character controller will not be able to move any further
slope limit#
Float
defines the limit for moving on polygons, for example, you may want to stop the character controller walking on polygons whose slope is high

  Returns

  Description

A character controller is an ideal option for representing your character in game as it allows you to quickly get character movement and full collision with your scenery implemented.

  Example Code
No example code is provided for this command